package com.example.demo.dao;

import com.example.demo.modal.Physical;
import java.util.List;

public interface PhysicalMapper {
    int deleteByPrimaryKey(Integer variaId);

    int insert(Physical record);

    List<Physical> selectByPrimaryKey(Integer variaId);

    List<Physical> selectAll();

    int updateByPrimaryKey(Physical record);

    List<Physical> selectByName(String name);

    List<Physical> selectByPId(Integer variaPId);

    int selectMaxId();
}